(function() {
    appCommon.controller('headCtr', headController);  

    function headController($scope, $rootScope) {
    	var href = location.href.split("/")
    	var type = href[href.length - 1];
    	if(type !== "login" && type !== "register") {
    		$rootScope.view = "has-banner";  
    	} 
    }
})();